Handle out-of range and undefined LHS bit/part selects in assignments.

For constant bit/part selects, issue a warning if the select is out
of range or an undefined value. In any case, the RHS value should be
discarded, and the actual assignment should be skipped.