The Commons has been accused of a ‘knee-jerk response’ after changing its guidance for single-sex bathroom facilities