Ligand Pharma snaps up struggling Metabasis