Gaddafi loyalists go on offensive, rebels pushed back