java/translator: Simplify basic block insertion

Signed-off-by: Pekka Enberg <penberg@iki.fi>