BUG: replace elif by if in Ridge solver selection.

@fabianp: Since you know that better than me, can you add a
regression test that triggers the LinAlgError. Thanks!