The transgender bill was cleared in the Lok Sabha through a voice vote, even as Opposition MPs walked out.