EU to use military against people smugglers