Facebook agrees to reverse news ban on Australian sites after striking deal with federal government