The Coalition has been rocked after three MPs resigned from senior positions, after they voted against their own party.