Libyan ex-general battling Islamist militias faces dwindling support amid stalemate