Libya ousts prime minister after ship leaves rebel-held port with illegal oil