$4M paid for release of Malaysian ships