BMW settles federal lawsuit over military leasing