UN chief tells Libya’s Hifter there is no military solution