Interaction-induced magnetoresistance in a two-dimensional electron gas