The hijackers of a Libyan plane that landed in Malta earlier have left the aircraft and surrendered after releasing all the passengers and crew, according to the Maltese Prime Minister.