Libyan commander says Tripoli needs ex-rebels for now