Backbench rebellion over plans to introduce homosexual marriage