The European Parliament has voted on new return policies that will reshape EU migration laws, allowing for longer detention periods and establishing return hubs.