Labor’s controversial laws to cap the number of foreign students have been blocked, the government calling Peter Dutton “a fraud” over his party’s decision.