Contractible classes in toric varieties