Explicitly check RouteInfo type in InitialConfiguration

Add RouteInfo type check in InitialConfiguration.java. Modify
IpClientTest to check that excluded route presence is properly handled.

Test: atest IpClientTest
Bug: 186082280
Change-Id: I896855ff6487b7000a2864eaa0d5a86a46d84038
2 files changed