Learning to Solve Related Linear Systems