Plaintiffs attorneys and at least one car manufacturer have negotiated an end-of-session legislative deal to amend California's  "lemon law," the 42-year-old statute that requires automakers to refund the cost of or replace defective vehicles, sources familiar with the discussions said Friday.