Plans for a basement flat where natural daylight would be "virtually non-existent" have been refused by Bradford Council.