BUG: VerifyPreconditions checks required named inputs

Adding missing checking of required named inputs.

BUG: If only new SetPrimaryInputName was used, then it would not set
the number of required indexed inputs to 1.

Change-Id: Ie09f142ed0bc3a820b038c4a2b27248cbf1f8d74
Merge topic 'VerifyNamesInputs'

bf6f106 BUG: VerifyPreconditions checks required named inputs