Automatic washing machine water shutoff valve