Ministers will push ahead with controversial plans to double the time it takes for migrants to be able to apply for indefinite leave to remain.