NMSU baseball snaps losing streak