MPs reject proposed timetable for key Brexit law, throwing PM’s plan to leave EU by 31 October into chaos