Detainees who don’t cooperate with the process to deport them will be jailed for up to five years under tough new laws being rushed through Parliament.