Cross-border Gibraltar workers to retain free movement even after Brexit, Spain says