Move memory slot checks into Instruction constructor Bug: 293811969 Test: TH Change-Id: I791b0830b6707b0f41142f9f9a97653366c0e084