The company sent an internal memo to employees saying it plans to file a court challenge if the bill is signed into law.