Malta says it will allow the private rescue ship Aquarius, carrying 141 migrants aboard, enter port as part of an EU deal.