Three people have been arrested in Libya on suspicion of involvement in launching a boat packed with migrants.