Make sure type is right when emitting testbi.

Summary: If the argument to testbi is larger than 1 byte we need to truncate it.

Reviewed By: @markw65

Differential Revision: D1636186