Toyota to pay record safety fine