Almost 300 people have been arrested in Morocco for trying to get into Spain amid Ceuta’s migration crisis.