Minor refactoring in MED4 instrument loading

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Minor refactoring in MED instrument loading

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>