Arsenal win ends worst run since 1977