Unconstitutional law costs Texas another $2.5 million