Richmond man pleads guilty to keeping sex slave