AMENDED AND RESTATED CREDIT AGREEMENT dated as of February 26, 2026 between RLI CORP. and PNC BANK, NATIONAL ASSOCIATION