Clean up error for claim index out of bounds

This changes the uncaught exception to an actual
api UsageException to be provided to users

This change also adds a test for the bug into the
wbsetclaim tests

Bug: 58394
Change-Id: I177ac29de9d2ec0f4a355ec847f6f2075650fe2a
Merge "Clean up error for claim index out of bounds"