Two hijackers, who diverted a Libyan plane to Malta and threatened to blow up the aircraft, have surrendered themselves to authorities after releasing everyone on board and leaving the plane.