Home Office sacks immigration chief after criticism of border security