After lawmakers reject amendment, Patrick says he will sign crime bill