Cabinet ‘pledges allegiance’ to PM