The censure motion passed with Labor and Greens’ backing, but not the support of the Coalition.