Capitol leaders near agreement to settle pay-raise standoff