Controversial proposal has split parliament and cabinet, with outcome too close to call