Germany is overhauling its immigration rules to bolster a rapidly shrinking workforce