Rabbani to oppose military courts bill in Upper House