Gamma-Ray Bursts from Neutron Star Phase Transitions