Germany's outgoing government has extended border controls by six months in a bid to curb irregular migration, a key issue in the lead-up to the country's federal election on 23 February.