Libya forces try to halt rebel move toward capital